package org.punkgrok.flightrecorder.struts;

import org.apache.struts.action.ActionServlet;
import org.punkgrok.flightrecorder.HttpServletRequestInvocationHandler;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * User: Roman Florian Zabicki III
 * Date: May 25, 2009
 * Time: 2:52:21 PM
 */
public class ExceptionalActionServlet extends ActionServlet {
	@Override
	public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
		super.doPost(HttpServletRequestInvocationHandler.buildProxy(request), response);
	}

	@Override
	public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
		super.doGet(HttpServletRequestInvocationHandler.buildProxy(request), response);
	}
}
